package com.candy.candylogservice.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author suYanLong
 * @version 1.0
 * @date 2023/4/23 17:12
 * @Description 描述
 */
@Data
//@Component
@ConfigurationProperties(prefix = "rpc.log")
public class RpcLogProperties {

    private Boolean enable = true;

    private Boolean enableAsync = true;

    private Boolean enableBatch = false;

    private Integer batchMaxSize = 10;

    private Integer batchMaxAwaitDurationInSeconds = 3;

}
